class CreateNoticias < ActiveRecord::Migration
  def self.up
    create_table :noticias do |t|
      t.column :titulo,     :string, :null => false
      t.column :descricao,  :text, :limit => 200
      t.column :conteudo,   :text
      t.column :postado_em, :datetime
    end
  end

  def self.down
    drop_table :noticias
  end
end
